package com.yazi.mxz.fieldsale.entity.beans;

import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;


public class FieldSale implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1065906259696462062L;
	
	// Fields

	@Id
	@Indexed
	private Long serialCode;
	private Long checkerId;// 营业员ID
	private Long addTime;// 添加时间
	private Boolean isFinished;// 是否已经结算
	private Float received;// 实收金额
	private Float returned;// 找零金额
	private List<FieldSaleGoods> fieldSaleGoodses;
	
	public Boolean getIsFinished() {
		return isFinished;
	}
	public void setIsFinished(Boolean isFinished) {
		this.isFinished = isFinished;
	}
	public Float getReceived() {
		return received;
	}
	public void setReceived(Float received) {
		this.received = received;
	}
	public Float getReturned() {
		return returned;
	}
	public void setReturned(Float returned) {
		this.returned = returned;
	}
	public Long getAddTime() {
		return addTime;
	}
	public void setAddTime(Long addTime) {
		this.addTime = addTime;
	}
	public Long getSerialCode() {
		return serialCode;
	}
	public void setSerialCode(Long serialCode) {
		this.serialCode = serialCode;
	}
	public Long getCheckerId() {
		return checkerId;
	}
	public void setCheckerId(Long checkerId) {
		this.checkerId = checkerId;
	}
	public List<FieldSaleGoods> getFieldSaleGoodses() {
		return fieldSaleGoodses;
	}
	public void setFieldSaleGoodses(List<FieldSaleGoods> fieldSaleGoodses) {
		this.fieldSaleGoodses = fieldSaleGoodses;
	}
}